package com.francisco.ets.util;

import java.util.regex.Pattern;

public class Labo1Const 
{
	public static final int POSITION_INITIAL_X=1;
	public static final int POSITION_INITIAL_Y=1;
    public static final String TYPE_FORME_LIGNE="LIGNE";
    public static final String TYPE_FORME_CERCLE="CERCLE";
    public static final String TYPE_FORME_CARRE="CARRE";
    public static final String TYPE_FORME_RECTANGLE="RECTANGLE";
    public static final String TYPE_FORME_OVALE="OVALE";
    public static final int[] arg={1,2,3,4};
    public static final String PATRON_LIGNE_RECTANGLE_CARRE_OVALE=("(.*) <(.*)> (.*) (.*) (.*) (.*) </\\2>");
    public static final String PATRON_CERCLE=("(.*) <(.*)> (.*) (.*) (.*) </\\2>");
    // Liste de valeurs pour le patron 
    public static final int FORME_NSEQ=1;
    public static final int FORME_TYPE=2;
    public static final int FORME_ARG1=3;
    public static final int FORME_ARG2=4;
    public static final int FORME_ARG3=5;
    public static final int FORME_ARG4=6;
    //Actions possibles
    public static enum Actions
    {
    	AFFICHER_FORMES,
    	AFFICHER_DIALOGUE_CONNECTION,
    	VERFICATION_CONNECTION_SERVEUR,
    	ARRETER_THREAD,
    	QUITTER_APPLICATION	
    }
    public static enum ProprietesChangees
    {
    	SERVEUR_TOMBE,
    	FORME_AJOUTEE
    }
}
